import request from '@/config/request';

/** 获取业务员订单列表 */
export function getOrderList(data: any): Promise<any> {
  return request({
    url: `/busines/user/order/list`,
    method: 'GET',
    data
  })
}

/** 获取订单详情 */
export function getOrderDetail(id: number): Promise<any> {
  return request({
    url: `/busines/user/order/detail?orderId=${id}`,
    method: 'GET'
  })
}